package com.mt.order.mapper;

import java.util.List;
import java.util.Map;

import com.mt.order.entity.OrderTradeEntity;

public interface OrderTradeEntityMapper {
    int deleteByPrimaryKey(Integer tradeId);

    int insertList(List<OrderTradeEntity> orderDetailList);

    /**
     * 查询列表
     * 
     * @param params
     * @return
     */
    List<OrderTradeEntity> selectList(Map<String, Object> params);

    /**
     * 查询详情
     * 
     * @param params
     * @return
     */
    OrderTradeEntity selectByPrimaryKey(Map<String, Object> params);

    int insert(OrderTradeEntity record);

    int updateByPrimaryKeySelective(OrderTradeEntity record);

}